﻿<%@ Page Language="C#" MasterPageFile="~/page/MasterPage.master" AutoEventWireup="true" CodeFile="DealLoan.aspx.cs" Inherits="DealLoan" Title="易居臣信二手房管理系统——贷款处理"%>

<asp:Content ID="Content1" ContentPlaceHolderID="main" Runat="Server">
<script src="../../js/Chenxin/udefine/Chenxin.UI.AddPageCommon.js" type="text/javascript"></script>
<script src="../../js/App/DealLoan.js" type="text/javascript"></script>
<div class="sidebar2"></div>
<!--导航-->
<div class="listpahlinks">
    <span>
        <a href="#">系统首页</a>
    </span>
    <span> > </span>
    <span><a href="#">贷款处理</a></span>
</div>
<div id="divDealLoan">
    <input type="hidden" id="hidRecordId" name="RecordId" />
    <input type="hidden" id="hidMainId" name="MainId" />
    <div class="search_table_title">
        <span class="tablfbg fl"></span>
        <span class="tablmbg fl">房源信息</span>
        <span class="tablrbg fr"></span>
    </div>
    <table width='100%' border='0' cellspacing='0' cellpadding='0' class='tabsorternew'>
        <tbody>
            <tr>
                <td style="text-align:center; width:90px;">成交编号</td>
                <td style="width:430px;">
                    <input type="hidden" name="ContractId" id="hidContractId" />
                    <input type="text" id="ComCode" name="ComCode" class="inputbox_n fl" style="width:60px;" readonly="readonly"; />
                    <input type="text" id="CodeYear" name="CodeYear" class="inputbox_n fl" style="width:20px;ime-mode:disabled;" />
                    <input type="text" id="ContractCode" name="ContractCode" class="inputbox_n fl" style="width:100px;ime-mode:disabled;" />
                    <input type="button" id="btn_chkCode" value="校验成交编号" style="margin-left:10px;" title="校验成交编号"/>
                </td>
                <td style="text-align:center; width:90px;">合同价格</td>
                <td>
                    <input type="text" id="SalePrice_T" name="SalePrice_T" class="inputbox_n fl" style="width:71px" />万元
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:90px;">房源地址</td>
                <td colspan="3" >
                    <input type="text" id="Address" name="Address" class="inputbox_n fl" 
                        style="width:715px"/>
                </td>
            </tr>
        </tbody>
    </table>
    <div class="search_table_title">
        <span class="tablfbg fl"></span>
        <span class="tablmbg fl">受理人输入</span>
        <span class="tablrbg fr"></span>
    </div>
    <table id="tbSl" width='100%' border='0' cellspacing='0' cellpadding='0' class='tabsorternew'>
        <tbody>
            <tr>
                <td style="text-align:center; width:286px;">评估价</td>
                <td style="width: 164px">
                    <input type="text" id="EstimatePrice" name="EstimatePrice" class="inputbox_n fl" style="width:100px;ime-mode:disabled;" />万元
                </td>
                <td style="text-align:center; width:100px;">面积</td>
                <td style="width: 192px">
                    <input type="text" id="BuildingArea" name="BuildingArea" class="inputbox_n fl" style="width:125px;ime-mode:disabled;" />平方
                </td>
                <td style="text-align:center; width:100px;">总楼层</td>
                <td>
                    <input type="text" id="Total_Floor" name="Total_Floor" class="inputbox_n fl" 
                        style="width:125px;ime-mode:disabled;"/>楼
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">竣工日</td>
                <td style="width: 164px">
                    <div id="CompleteYear" style="z-index:90; margin-right: 2px;" class="SelectWrapSingle"></div>
                </td>
                <td style="text-align:center; width:100px;">主贷人姓名</td>
                <td style="width: 192px">
                    <input type="text" id="CustomerName" name="CustomerName" class="inputbox_n fl" style="width:125px"/>
                </td>
                <td style="text-align:center; width:100px;">身份证号码</td>
                <td colspan="2">
                    <input type="text" id="IDNum" name="IDNum" class="inputbox_n fl" 
                        style="width:125px"/>
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">上家联系电话</td>
                <td style="width: 164px;">
                    <input type="text" id="txtSalerPhone" name="SalerPhone" class="inputbox_n fl" style="width:125px"/>
                </td>
                <td style="text-align:center; width:100px;">下家联系电话</td>
                <td style="width: 192px;">
                    <input type="text" id="txtBuyerPhone" name="BuyerPhone" class="inputbox_n fl" style="width:125px"/>
                </td>
                <td style="text-align:center; width:100px;">贷款种类</td>
                <td colspan="3">
                    <div id="LoanInfo" style="z-index:30; margin-right: 2px;" class="SelectWrapSingle"></div>
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">贷款办理渠道</td>
                <td style="width: 164px">
                    <div id="LoanDealMode" style="z-index:50; margin-right: 2px;" class="SelectWrapSingle"></div>
                </td>
                <td style="text-align:center; width:100px;">受理银行</td>
                <td colspan="3">
                    <%--<div id="ReceiveBank" style="z-index:50; margin-right: 2px;" class="SelectWrapSingle"></div>--%>
                    <input type="text" id="ReceiveBank" name="ReceiveBank" class="inputbox_n fl" style="width:125px"/>
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">公积金贷款额</td>
                <td style="width: 164px">
                    <input type="text" id="txtGJJmoney" name="GJJmoney" class="inputbox_n fl" style="width:66px;ime-mode:disabled;"/>万元
                </td>
                <td style="text-align:center; width:185px;">年限</td>
                <td colspan="3">
                    <input type="text" id="txtGJJyear" name="GJJyear" class="inputbox_n fl" style="width:66px"/>年
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">商业贷款额</td>
                <td style="width: 164px">
                    <input type="text" id="txtSYMoney" name="SYMoney" class="inputbox_n fl" style="width:66px;ime-mode:disabled;" />万元
                </td>
                <td style="text-align:center; width:100px;">年限</td>
                <td colspan="3">
                    <input type="text" id="txtSYYear" name="SYYear" class="inputbox_n fl" style="width:66px" />年
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">消费贷款额</td>
                <td style="width: 164px">
                    <input type="text" id="txtLoanXf" name="LoanXf" class="inputbox_n fl" style="width:66px;ime-mode:disabled;" />万元
                </td>
                <td style="text-align:center; width:100px;">年限</td>
                <td colspan="3">
                    <input type="text" id="txtLoanXfYear" name="LoanXfYear" class="inputbox_n fl" style="width:66px" />年
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">授信贷款额</td>
                <td style="width: 164px">
                    <input type="text" id="txtLoanSx" name="LoanSx" class="inputbox_n fl" style="width:66px;ime-mode:disabled;" />万元
                </td>
                <td style="text-align:center; width:100px;">年限</td>
                <td colspan="3">
                    <input type="text" id="txtLoanSxYear" name="LoanSxYear" class="inputbox_n fl" style="width:66px" />年
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">助业贷款额</td>
                <td style="width: 164px">
                    <input type="text" id="txtLoanZy" name="LoanZy" class="inputbox_n fl" style="width:66px;ime-mode:disabled;" />万元
                </td>
                <td style="text-align:center; width:100px;">年限</td>
                <td colspan="3">
                    <input type="text" id="txtLoanZyYear" name="LoanZyYear" class="inputbox_n fl" style="width:66px" />年
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">评估公司</td>
                <td style="width: 164px">
                    <%--<div id="EvaluateCorp" style="z-index:4; margin-right: 2px;" class="SelectWrapSingle" ></div>--%>
                    <input type="text" id="EvaluateCorp" name="EvaluateCorp" class="inputbox_n fl" style="width:66px;" />
                </td>
                <td style="text-align:center; width:100px;">评估费</td>
                <td colspan='3'>
                    <input type="text" id="txtEvaluateFee" name="EvaluateFee" class="inputbox_n fl" style="width:66px;ime-mode:disabled;"/>元
                    <input type="checkbox" name="IsNoEvaluateFee" value="true"/>免
                    <input type="checkbox" name="IdBankReceipt" value="true"/>银行收
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">转按揭担保金</td>
                <td>
                    <input type="text" id="VouchFee" name="VouchFee" class="inputbox_n fl" style="width:66px;ime-mode:disabled;"/>元
                    <input type="checkbox" name="IdZhuanBen" value="true" />本公司
                </td>
                <td style="text-align:center; width:100px;">代理费</td>
                <td colspan='3' >
                    <input type="text" id="txtAgencyFee" name="AgencyFee" class="inputbox_n fl" style="width:66px;ime-mode:disabled;"/>元
                    <input type="checkbox" name="IsNoAgencyFee" value="true"/>免
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:400px;">收件收据担保费</td>
                <td>
                    <input type="text" id="txtOutVouchFee" name="OutVouchFee" class="inputbox_n fl" style="width:66px;ime-mode:disabled;"/>元
                    <input type="checkbox" name="IdShouBen" value="true"/>本公司
                </td>
                <td style="text-align:center; width:100px;">保险公司</td>
                <td style="width: 164px">
                    <div id="InsuranceCorp" style="z-index:4; margin-right: 2px;" class="SelectWrapSingle"></div>
                </td>
                <td style="text-align:center; width:286px;">保险费</td>
                <td style="width: 164px">
                    <input type="text" id="txtInsuranceFee" name="InsuranceFee" class="inputbox_n fl" style="width:66px;ime-mode:disabled;"/>元
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">评估费收款日</td>
                <td style="width: 164px">
                    <input name="EvaluateFeeDate" class="inputbox_n fl" id="EvaluateFeeDate" type="text" readonly="readonly" onclick="WdatePicker({position:{left:this.getBoundingClientRect().left+1,top:this.getBoundingClientRect().top+22}});" style="width:66px;"/>
                </td>
                <td style="text-align:center; width:185px;">转按揭收款日</td>
                <td style="width: 160px">
                    <input name="VouchFeeDate" class="inputbox_n fl" id="VouchFeeDate" type="text" readonly="readonly" onclick="WdatePicker({position:{left:this.getBoundingClientRect().left+1,top:this.getBoundingClientRect().top+22}});" style="width:66px;"/>
                </td>
                <td style="text-align:center; width:150px;">保险费收款日</td>
                <td>
                    <input name="InsuranceFeeDate" class="inputbox_n fl" id="InsuranceFeeDate" type="text" readonly="readonly" onclick="WdatePicker({position:{left:this.getBoundingClientRect().left+1,top:this.getBoundingClientRect().top+22}});" style="width:66px;"/>
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">代理费收款日</td>
                <td style="width: 164px">
                    <input name="AgencyFeeDate" class="inputbox_n fl" id="AgencyFeeDate" type="text" readonly="readonly" onclick="WdatePicker({position:{left:this.getBoundingClientRect().left+1,top:this.getBoundingClientRect().top+22}});" style="width:66px;"/>
                </td>
                <td style="text-align:center; width:100px;">担保费收款日</td>
                <td style="width: 160px">
                    <input name="OutVouchFeeDate" class="inputbox_n fl" id="OutVouchFeeDate" type="text" readonly="readonly" onclick="WdatePicker({position:{left:this.getBoundingClientRect().left+1,top:this.getBoundingClientRect().top+22}});" style="width:66px;"/>
                </td>
                <td style="text-align:center; width:120px;">签贷款合同日</td>
                <td>
                    <input name="LoanContractDate" class="inputbox_n fl" id="LoanContractDate" type="text" readonly="readonly" onclick="WdatePicker({position:{left:this.getBoundingClientRect().left+1,top:this.getBoundingClientRect().top+22}});" style="width:66px;"/>
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">贷款签订地点</td>
                <td style="width: 164px">
                    <div id="OrderPlace" style="z-index:20; margin-right: 2px;" class="SelectWrapSingle"></div>
                </td>
                <td style="text-align:center; width:100px;">是否缺件</td>
                <td style="width: 160px">
                    <input type="radio" value="false" name="IsLack" checked="checked"/>否
                    <input type="radio" value="true" name="IsLack" />是
                </td>
                <td style="text-align:center; width:100px;">齐全时间</td>
                <td>
                    <input name="EndDate" class="inputbox_n fl" id="EndDate" type="text" readonly="readonly" onclick="WdatePicker({position:{left:this.getBoundingClientRect().left+1,top:this.getBoundingClientRect().top+22}});" style="width:66px;"/>
                </td>
            </tr>
            <tr id="tr_LackInfo" style="display:none">
                <td style="text-align:center; width:286px;">缺件内容</td>
                <td colspan='5'>
                    <textarea name="LackInfo" class="textarea_n" cols="80" rows="1" style=" float:left; width: 650px; height: 40px; padding:5px;"></textarea>
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:100px;">备注</td>
                <td colspan='5'>
                    <textarea name="SLRemark" class="textarea_n" cols="80" rows="1" style=" float:left; width: 650px; height: 40px; padding:5px;"></textarea>
                </td>
            </tr>
            <tr>
                <td colspan='6'>
                    是否收件收据放款<input type="checkbox" name="Receipt" value="true"/>是否转按
                    <input type="checkbox" name="Mortgage" value="true"/>
                </td>
            </tr>
        </tbody>
        <tbody>
            <tr>
                <td style="text-align:center; width:286px;">门店</td>
                <td style="width: 164px">
                    <div id="EmpDepartId" style="z-index:20; margin-right: 2px;" class="SelectWrapSingle"></div>
                </td>
                <td style="text-align:center; width:50px;">业务员</td>
                <td style="width: 192px">
                    <input type="text" id="txtEmployeeId" name="EmployeeId" class="inputbox_n fl" style="width:150px" />
                </td>
                <td style="text-align:center; width:50px;">联系电话</td>
                <td>
                    <input type="text" id="EmpPhone" name="EmpPhone" class="inputbox_n fl" 
                        style="width:66px"/>
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">原主贷人姓名</td>
                <td style="width: 164px">
                    <input type="text" id="txtSaleName" name="SaleName" class="inputbox_n fl" style="width:66px"/>
                </td>
                <td style="text-align:center; width:100px;">身份证号码</td>
                <td style="width: 192px">
                    <input type="text" id="txtSaleIDCard" name="SaleIDCard" class="inputbox_n fl" style="width:66px"/>
                </td>
                <td style="text-align:center; width:100px;">抵押注销日</td>
                <td style="width: 164px">
                    <input name="MortgageClearDate" class="inputbox_n fl" id="MortgageClearDate" type="text" readonly="readonly" onclick="WdatePicker({position:{left:this.getBoundingClientRect().left+1,top:this.getBoundingClientRect().top+22}});" style="width:66px;"/>
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">结清日</td>
                <td style="width: 164px">
                    <input name="LoanComplete" class="inputbox_n fl" id="LoanComplete" type="text" readonly="readonly" onclick="WdatePicker({position:{left:this.getBoundingClientRect().left+1,top:this.getBoundingClientRect().top+22}});" style="width:66px;"/>
                </td>
                <td style="text-align:center; width:50px;">结清金额</td>
                <td style="width: 192px">
                    <input type="text" id="LoanBankSaleComplete" name="LoanBankSaleComplete" class="inputbox_n fl" style="width:66px;ime-mode:disabled;"/>万元
                </td>
                <td style="text-align:center; width:50px;">余额</td>
                <td>
                    <input type="text" id="OldRestMoney" name="OldRestMoney" class="inputbox_n fl" style="width:66px;ime-mode:disabled;"/>万元
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">原贷款银行</td>
                <td style="width: 160px">
                    <div id="OldLoanBank" style="z-index:19; margin-right: 2px;" class="SelectWrapSingle"></div>
                </td>
                <td style="text-align:center; width:100px;">原贷款金额</td>
                <td colspan="3">
                    <input type="text" id="OldLoanMoney" name="OldLoanMoney" class="inputbox_n fl" 
                        style="width:66px;ime-mode:disabled;"/>万元
                </td>
            </tr>
            <tr>
                <td style="text-align:center; width:286px;">备注</td>
                <td colspan='6'>
                    <textarea id="Remark" name="Remark" rows="5" cols="80" style="width: 100%"></textarea>
                </td>
            </tr>
        </tbody>
    </table>
    <div class='btn btn1'><a href='#' title='提交' id='aSubmit'><span>提&nbsp;交</span></a></div>
    <div class='btn btn5'><a href='#' title='关闭' id='aClose'><span>关闭</span></a></div>
</div>
<!--初始数据区-->
<asp:HiddenField ID="hidPreBuyerInfo" Runat="Server" />
<asp:HiddenField ID="hidPreSalerInfo" Runat="Server" />
<asp:HiddenField ID="hidPreliminaryInfo" Runat="Server" />
<asp:HiddenField ID="hidDealLoanInfo" Runat="Server" />
<asp:HiddenField ID="hidLoanInfo" Runat="Server" />
</asp:Content>